package cn.zxd.member.policy.dao;

import cn.zxd.member.policy.vo.*;

import java.util.Map;
import java.util.List;

/**
 * Created by DaoCreator (daoInterface.jt)
 */
public interface PolicyDao {
//#appendbegin
    //==============Policy==============
    public void insertPolicy(Policy vo);
    public void updatePolicy(Policy vo);

    public void deletePolicy(Policy vo);
    public void deletePolicyByPrimaryKey(String sn );
    public void deletePolicyByParam(Object... param);
    public void deletePolicyByParam(Map<String, Object> param);

    public PolicySO getPolicyByPrimaryKey(String sn );
    
    public int getPolicyCountByPrimaryKey(String sn );
    public int getPolicyCountByParam(Object... param);
    public int getPolicyCountByParam(Map<String, Object> param);

    public List<PolicySO> getPolicyListByParam(String orderBy, Object... param);
    public List<PolicySO> getPolicyListByParam(int page, int count, String orderBy, Object... param);
    public List<PolicySO> getPolicyListByParam(String orderBy, Map<String, Object> param);
    public List<PolicySO> getPolicyListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<PolicySO> getAllPolicyList(String orderBy);
    //==============end of Policy==============	
//#appendend   

    //==============Policy_Drvier==============
    public void insertPolicyDrvier(PolicyDrvier vo);
    public void updatePolicyDrvier(PolicyDrvier vo);

    public void deletePolicyDrvier(PolicyDrvier vo);
    public void deletePolicyDrvierByPrimaryKey(String sn );
    public void deletePolicyDrvierByParam(Object... param);
    public void deletePolicyDrvierByParam(Map<String, Object> param);

    public PolicyDrvier getPolicyDrvierByPrimaryKey(String sn );
    
    public int getPolicyDrvierCountByPrimaryKey(String sn );
    public int getPolicyDrvierCountByParam(Object... param);
    public int getPolicyDrvierCountByParam(Map<String, Object> param);

    public List<PolicyDrvier> getPolicyDrvierListByParam(String orderBy, Object... param);
    public List<PolicyDrvier> getPolicyDrvierListByParam(int page, int count, String orderBy, Object... param);
    public List<PolicyDrvier> getPolicyDrvierListByParam(String orderBy, Map<String, Object> param);
    public List<PolicyDrvier> getPolicyDrvierListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<PolicyDrvier> getAllPolicyDrvierList(String orderBy);
    //==============end of Policy_Drvier==============	



    //==============Policy_InsDetail==============
    public void insertPolicyInsDetail(PolicyInsDetail vo);
    public void updatePolicyInsDetail(PolicyInsDetail vo);

    public void deletePolicyInsDetail(PolicyInsDetail vo);
    public void deletePolicyInsDetailByPrimaryKey(String sn );
    public void deletePolicyInsDetailByParam(Object... param);
    public void deletePolicyInsDetailByParam(Map<String, Object> param);

    public PolicyInsDetail getPolicyInsDetailByPrimaryKey(String sn );
    
    public int getPolicyInsDetailCountByPrimaryKey(String sn );
    public int getPolicyInsDetailCountByParam(Object... param);
    public int getPolicyInsDetailCountByParam(Map<String, Object> param);

    public List<PolicyInsDetail> getPolicyInsDetailListByParam(String orderBy, Object... param);
    public List<PolicyInsDetail> getPolicyInsDetailListByParam(int page, int count, String orderBy, Object... param);
    public List<PolicyInsDetail> getPolicyInsDetailListByParam(String orderBy, Map<String, Object> param);
    public List<PolicyInsDetail> getPolicyInsDetailListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<PolicyInsDetail> getAllPolicyInsDetailList(String orderBy);
    //==============end of Policy_InsDetail==============	



    //==============Policy_InsModify==============
    public void insertPolicyInsModify(PolicyInsModify vo);
    public void updatePolicyInsModify(PolicyInsModify vo);

    public void deletePolicyInsModify(PolicyInsModify vo);
    public void deletePolicyInsModifyByPrimaryKey(String sn );
    public void deletePolicyInsModifyByParam(Object... param);
    public void deletePolicyInsModifyByParam(Map<String, Object> param);

    public PolicyInsModify getPolicyInsModifyByPrimaryKey(String sn );
    
    public int getPolicyInsModifyCountByPrimaryKey(String sn );
    public int getPolicyInsModifyCountByParam(Object... param);
    public int getPolicyInsModifyCountByParam(Map<String, Object> param);

    public List<PolicyInsModify> getPolicyInsModifyListByParam(String orderBy, Object... param);
    public List<PolicyInsModify> getPolicyInsModifyListByParam(int page, int count, String orderBy, Object... param);
    public List<PolicyInsModify> getPolicyInsModifyListByParam(String orderBy, Map<String, Object> param);
    public List<PolicyInsModify> getPolicyInsModifyListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<PolicyInsModify> getAllPolicyInsModifyList(String orderBy);
    //==============end of Policy_InsModify==============	



    //==============Policy_ValueAdd==============
    public void insertPolicyValueAdd(PolicyValueAdd vo);
    public void updatePolicyValueAdd(PolicyValueAdd vo);

    public void deletePolicyValueAdd(PolicyValueAdd vo);
    public void deletePolicyValueAddByPrimaryKey(String sn );
    public void deletePolicyValueAddByParam(Object... param);
    public void deletePolicyValueAddByParam(Map<String, Object> param);

    public PolicyValueAdd getPolicyValueAddByPrimaryKey(String sn );
    
    public int getPolicyValueAddCountByPrimaryKey(String sn );
    public int getPolicyValueAddCountByParam(Object... param);
    public int getPolicyValueAddCountByParam(Map<String, Object> param);

    public List<PolicyValueAdd> getPolicyValueAddListByParam(String orderBy, Object... param);
    public List<PolicyValueAdd> getPolicyValueAddListByParam(int page, int count, String orderBy, Object... param);
    public List<PolicyValueAdd> getPolicyValueAddListByParam(String orderBy, Map<String, Object> param);
    public List<PolicyValueAdd> getPolicyValueAddListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<PolicyValueAdd> getAllPolicyValueAddList(String orderBy);
    //==============end of Policy_ValueAdd==============	


}
